package com.example.service.webhook.business.bank.api;

import java.util.List;

import com.example.service.webhook.business.bank.dtonew.CardDetail;
import retrofit2.Call;
import retrofit2.http.*;

/**
 * Modified by liyang on 20171019 接口升级
 */
public interface BankApi {

    /**
     * 获取当前任务所有数据  /bank/v3/allcards-ex2?task_id={task_id}&multiple_cards=true(false)
     * multiple_cards=true(false)为可选参数
     * 说明：20171019接口升级，原接口：/bank/v3/allcards
     * @param taskId
     * @return
     */
	 @GET("/bank/v3/allcards-ex2")
	 Call<List<CardDetail>> getCards(@Query("task_id") String taskId);
/*

    */
/**
     * 获取银行卡信息
     * @param cardId
     * @return
     *//*

    @GET("/bank/v3/cards/{cardid}")
    Call<BankCardInfo> getCardInfo(@Path("cardid") String cardId);

    */
/**
     *
     * @param billId
     * @return
     *//*

    @GET("/bank/v3/bills/{billid}")
    Call<BankBill> getBillById(@Path("billid") String billId);

    */
/**
     * 获取账单明细
     * @param billId
     * @param page
     * @param size
     * @return
     *//*

    @GET("/bank/v3/bills/{billid}/expense-records")
    Call<BankBillShoppingSheetList> getBillShoppingSheets(@Path("billid") String billId,@Query("page") Integer page,@Query("size") Integer size);
*/

}
